PROJECT (MYSERVER)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g -Wall -O0 -Wno-unused-variable -pthread")

SET(net_srcs 
base/timestamp.cpp
base/logging.cpp
base/logstream.cpp
net/Buffer.cc
net/EventLoop.cc
net/Channel.cc
net/Poller.cc
net/Poller/DefaultPoller.cc
net/Poller/EPollPoller.cc
net/Poller/PollPoller.cc
net/Timer.cc
net/TimerQueue.cc
net/EventLoopThread.cc
net/SocketsOps.cc
net/InetAddress.cc
net/Socket.cc
net/Acceptor.cc
net/TcpConnection.cc
net/TcpServer.cc
net/Connector.cc
net/TcpClient.cc
net/EventLoopThreadPool.cc
)

SET(net_test1
examples/EchoServer.cc
#net/test8.9.cc
)

SET(net_test2
net/test12.1.cc
)

MESSAGE(STATUS "This is BINARY dir" ${PROJECT_BINARY_DIR})
MESSAGE(STATUS "This is SOURCE dir" ${PROJECT_SOURCE_DIR})
ADD_EXECUTABLE(server ${net_srcs} ${net_test1})
#ADD_EXECUTABLE(client ${net_srcs} ${net_test2})